Release 10.1A: OpenEdge Getting Started:
Object-oriented Programming


SET-CALLBACK( ) method

The SET-CALLBACK( ) built-in method is used to associate a method and object reference for Progress-defined events on three objects:

This is the syntax for using SET-CALLBACK( ) to associate a method and object reference with a named Progress event:

Syntax
SET-CALLBACK ( callback-name, method-or-proc-name  
               [ , method-or-proc-context ] ) 

Element descriptions for this syntax diagram follow:

callback-name

A quoted string or character expression representing the name of a callback (named Progress event). The callback name is not case-sensitive. For information on the supported callbacks, see the SET-CALLBACK( ) method reference entry in OpenEdge Development: Progress 4GL Reference .

method-or-proc-name

A quoted string or character expression representing the name of an internal procedure or method that resides within method-or-proc-context.

method-or-proc-context

A reference to a class instance or a handle to a procedure that contains the method or internal procedure specified by method-or-proc-name. If not specified, THIS-PROCEDURE is used if this method is executed with a procedure and THIS-OBJECT is used if this method is executed within a class.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095